package com.example.uchain.service;

import com.example.uchain.demo.Author;
import com.example.uchain.demo.PageBean;
import com.example.uchain.demo.Result;

import java.util.List;

public interface AuthorService {
    List<Author> findAll();

    int AddAuthor(Author author);

    Result deleteAuthorById(Long memberId);

    void updateById(Author author);

   Author findAllById(Long memberId);

    PageBean pageForAut(Integer Page, Integer pageSize, String name, Long memberId, String phoneNumber, Integer code);
}
